<?php
	ini_set("display_errors","on");
	error_reporting(E_ALL);
	mysql_connect('localhost','root','wksbdx');
	mysql_select_db("sango");
	mysql_query("set names 'gbk'");
	$rs=mysql_query("select m_gen.*,gen.* from m_gen,gen where gen.g_gid=m_gen.id and m_gen.id=188");
echo "<pre>";
	while($row=mysql_fetch_assoc($rs))
	{
		//echo $row["s_type"]."=>";
		var_export($row);
		//echo ",\n";
	}
echo "</pre>"
?>